package com.dhc.service.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 管理员登录表
 * 接收前端传值
 *
 * @author KAZU
 * @TableName ADMIN_LOGIN
 */
@SuppressWarnings({"all"})
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminLoginDto implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户名
	 */
	@NotNull(message = "用户名不能为空")
	private String username;
	
	/**
	 * 密码
	 */
	@NotNull(message = "密码不能为空")
	private String password;
	
}